﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MixScript.BLL.Accounting
{
    public class GeneralJournal
    {
        private Int32 _id;
        private Int32 _no;
        private Int32 _acct;
        private String _description;
        private String _currency;
        private String _kurs;
        private Int32 _rate;
        private Int32 _ammount;
        private Int32 _debit;
        private Int32 _credit;
        private Int32 _process;
        private String _subsidiary;
        private Int32 _invoice;
        private DateTime _invoiceDate;
        private String _terms;
        private Int32 _poInvoice;
        private DateTime _poInvoiceDate;

        public Int32 id
        {
            get
            {
                return _id;
            }
            set
            {
                if (_id == value)
                    return;
                _id = value;
            }
        }
        public Int32 no
        {
            get
            {
                return _no;
            }
            set
            {
                if (_no == value)
                    return;
                _no = value;
            }
        }
        public Int32 acct
        {
            get
            {
                return _acct;
            }
            set
            {
                if (_acct == value)
                    return;
                _acct = value;
            }
        }
        public String description
        {
            get
            {
                return _description;
            }
            set
            {
                if (_description == value)
                    return;
                _description = value;
            }
        }
        public String currency
        {
            get
            {
                return _currency;
            }
            set
            {
                if (_currency == value)
                    return;
                _currency = value;
            }
        }
        public String kurs
        {
            get
            {
                return _kurs;
            }
            set
            {
                if (_kurs == value)
                    return;
                _kurs = value;
            }
        }
        public Int32 rate
        {
            get
            {
                return _rate;
            }
            set
            {
                if (_rate == value)
                    return;
                _rate = value;
            }
        }
        public Int32 ammount
        {
            get
            {
                return _ammount;
            }
            set
            {
                if (_ammount == value)
                    return;
                _ammount = value;
            }
        }
        public Int32 debit
        {
            get
            {
                return _debit;
            }
            set
            {
                if (_debit == value)
                    return;
                _debit = value;
            }
        }
        public Int32 credit
        {
            get
            {
                return _credit;
            }
            set
            {
                if (_credit == value)
                    return;
                _credit = value;
            }
        }
        public Int32 process
        {
            get
            {
                return _process;
            }
            set
            {
                if (_process == value)
                    return;
                _process = value;
            }
        }
        public String subsidiary
        {
            get
            {
                return _subsidiary;
            }
            set
            {
                if (_subsidiary == value)
                    return;
                _subsidiary = value;
            }
        }
        public Int32 invoice
        {
            get
            {
                return _invoice;
            }
            set
            {
                if (_invoice == value)
                    return;
                _invoice = value;
            }
        }
        public DateTime invoiceDate
        {
            get
            {
                return _invoiceDate;
            }
            set
            {
                if (_invoiceDate == value)
                    return;
                _invoiceDate = value;
            }
        }
        public Int32 poInvoice
        {
            get
            {
                return _poInvoice;
            }
            set
            {
                if (_poInvoice == value)
                    return;
                _poInvoice = value;
            }
        }
        public DateTime poInvoiceDate
        {
            get
            {
                return _poInvoiceDate;
            }
            set
            {
                if (_poInvoiceDate == value)
                    return;
                _poInvoiceDate = value;
            }
        }
        public String terms
        {
            get
            {
                return _terms;
            }
            set
            {
                if (_terms == value)
                    return;
                _terms = value;
            }
        }


    }
}
